//
//  Configuration.swift
//  FeastBooking
//
//  Created by Imon on 2017/9/23.
//  Copyright © 2017年 Imon. All rights reserved.
//

import Foundation

let APPVERSION: Double = 0.4

var LATESTVERSION: Double = 0.0

let imageMaxSize = 1048575

var hasUnreadMsg = false

let serverBasePath = "http://54.191.199.81:8083/api"

let stepNames: [String] = [LanguageHelper.getString(key: "CONSULTING"), LanguageHelper.getString(key: "RESERVED"), LanguageHelper.getString(key: "FEASTED"), LanguageHelper.getString(key: "CASHBACK"), LanguageHelper.getString(key: "WAIT_REVIEW"), LanguageHelper.getString(key: "DONE"), LanguageHelper.getString(key: "CANCELED")]

let stepNameStrings: [String] = [LanguageHelper.getString(key: "CONSULTING"), LanguageHelper.getString(key: "RESERVED"), LanguageHelper.getString(key: "FEASTED"), LanguageHelper.getString(key: "CASHBACK"), LanguageHelper.getString(key: "WAIT_REVIEW")]

let orderSteps = ["CONSULTING": 1, "RESERVED": 2, "FEASTED": 3, "CASHBACK": 4, "TO_BE_REVIEWD": 5, "DONE": 6, "CANCELED": 7]

let roles = ["CUSTOMER": RoleInOrder.customer, "MANAGER": RoleInOrder.manager, "RECOMMENDER": RoleInOrder.recommender]

let hasReadAllMsgs = NSNotification.Name(rawValue:"hasReadAllMsgs")

let hasNewUnReadMsg = NSNotification.Name(rawValue:"hasNewUnReadMsg")

let finishLoadAD = NSNotification.Name(rawValue:"finishLoadAD")

let finishLoadReco = NSNotification.Name(rawValue:"finishLoadReco")

let finishLoadRest = NSNotification.Name(rawValue:"finishLoadRest")

let finishCommonLoad = NSNotification.Name(rawValue:"finishCommonLoad")

let supportEmail = "weddingbookingteam@gmail.com"

let numOfQuestion = 3
